package com.miao.controller;

import com.miao.utils.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FallbackController {

    @RequestMapping("/fallback")
    public R fallback(){
        new R();
        return R.error(403, "Gateway触发了熔断降级！");
    }

}
